home *** CD-ROM | disk | FTP | other *** search
- Path: news.microsoft.com!news
- From: a-cnadc@microsoft.com (Dann Corbit)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP - gotoxy() in MS C++ or OS/2 C++
- Date: 19 Feb 1996 19:53:10 GMT
- Organization: Microsoft Corporation
- Message-ID: <4gakf6$7pk@news.microsoft.com>
- References: <4fu4c3$ll4@ccnet2.ccnet.com>
- NNTP-Posting-Host: 157.57.171.202
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.14
-
- In article <4fu4c3$ll4@ccnet2.ccnet.com>, allan@ccnet.com says...
- >
- >Could someone please help me. I'm taking a C++ course that requires
- >using the Turbo C++ GOTOXY function to write text. I have the Microsoft
- >C++ and OS/2 C++ compilers and don't see any similar function unless I
- >write to the Windows or Presentation Managers API. The GOTOXY allows you
- >to move the cursor to a new location.
- >
- >Therefore, is there any way I can move the cursor to a curtain location
- >and use PUTCH/GETCH without having to write to the Windows API or
- >Presentation Managers API (ie. console application environment in MS C++
- >and non-PM application environment in OS/2 C++)? Any easy way to do
- >this?
- >
- >Any information would be greatly appreciated!
- >
- >
- >Thank you very much!!!
- >
- >Allan W. Rose
- >allan@ccnet.com
- >
- >
- I don't know what OS/2 compiler you are using, so I can't help you there.
- MS C++ will either have _settextposition() if it is one of the older
- versions of the compiler, or OpenGL functions if it is one of the newer
- versions. See your compiler documentation.
- --
- The opinions expressed in this message are my own personal views
- and do not reflect the official views of Microsoft Corporation.
-
-